package com.jxbeidou;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @program: jxbeidou-basic
 * @ClassName: LoginApplication
 * @description: 登录服务启动类
 * @author: 杜晓祥
 * @create: 2023-12-26 15:04
 * 版权所有：交信北斗(北京)信息科技有些公司
 */
@Slf4j
@EnableFeignClients
@SpringBootApplication
public class LoginApplication {

    @Value("server.port")
    private static Integer port;

    public static void main(String[] args) {
        log.debug("启动日志开始打印");
        SpringApplication.run(LoginApplication.class);
        log.info("服务启动成功，端口：[{}]", port);
    }

}
